<div class="member box">
<h3>modify Hyperlink info</h3>
<a href="{url('manage', 'Hyperlink')}">back2list</a>
<br>
{$this->data['noticestr']}
<br>

<form action="{url('manage', 'DoEditHyperlink')}" method="post" id='customeredit' onsubmit="return doEditSubmit();">
	linkid: {$this->data['linkid']}<br>
	<input name="postdata[linkid]" type="hidden" value="{$this->data['queryre']['linkid']}"/>
	title:<input name="postdata[title]" type="text" size="80" maxlength="100" value="{$this->data['queryre']['title']}"/><br>
	摘要:<input name="postdata[abstract]" type="text" size="80" maxlength="10" value="{$this->data['queryre']['abstract']}"/><br>
	url:<input name="postdata[urlstr]" type="text" size="80" maxlength="100" value="{$this->data['queryre']['urlstr']}"/><br>
	分类:({$this->data['queryre']['cattags']})
<!--{loop ConstValues::$categorys $catid $catstr}-->
<?php
			$tmpchecked=strstr($this->data['queryre']['cattags'], "|$catid|");
			if(!empty($tmpchecked))
			{
				$tmpchecked = "checked";
			}
?>			
			<input name="postdata[cat][{$catid}]" type='checkbox' {$tmpchecked}>{$catstr}
<!--{/loop}-->
	<br>
	stauts:<input name="postdata[status]" type="text" size="80" maxlength="100" value="{$this->data['queryre']['status']}"/><br>
	<input type='submit' value="edit">
</form>
<br>
<h3>recent visit logs</h3>
<table class="list boards">
	<thead>
		<tr>
			<th>index</th>
			<th>cid</th>
			<th>linkid</th>
			<th>vtime</th>
		</tr>
	</thead>
	<tbody>

<!--{loop $this->data['vlog'] $data}-->
		<tr class='old'>
			<td>{$data['vid']}</td>
			<td>{$data['cid']}</td>
			<td>{$data['linkid']}</td>
			<td>{$data['itime']}</td>
		</tr>

<!--{/loop}-->
	</tbody>
</table>

</div>

<script type="text/javascript">
function doEditSubmit()
{
	return confirm("确定修改?");
}
</script>
